

module dotmars.text.utf32;

import dotmars.text.encoding;
import dotmars.base.stdtypes;
import dotmars.base.stdexcept;
import dotmars.base.convert;;
import dotmars.text.utf;

//还在开发
version(none) {

class UTF32Encoding : Encoding
{
	public alias Encoding.decode decode;
	public alias Encoding.encode encode;

	public override Encoding clone(){
		auto e = new UTF32Encoding;
		e = this;
		return e;
	}

	public override string encodingName() {
		return "UTF-32";
	}

	public override bool isSingleByte() {
		return false;
	}

	public override Encoder getEncoder() {
		return new UTF32Encoder(this);
	}

	public override Decoder getDecoder() {
		return new UTF32Decoder(this);
	}

}

}//version(none);
